import Vue from 'vue'
import Router from 'vue-router'
import recom from '@/pages/recom'
import toplist from '@/pages/toplist'
import search from '@/pages/search'
Vue.use(Router)

export default new Router({
  routes: [
    {path: '/', redirect: '/recom'},
    {path: '/recom', name: 'recom', component: recom},
    {path: '/toplist', name: 'toplist', component: toplist},
    {path: '/search', name: 'search', component: search}
  ]
})
